//
//  LoginViewController.h
//  Netinhand
//
//  Created by Zhou, Shaolin on 11/4/11.
//  Copyright (c) 2011 Microstrategy. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UrlRequest.h"
/*
@protocol LoginProtocol <NSObject>
@required
-(void)loginSuccess;
@end
*/
@interface LoginViewController : UIViewController<UITextFieldDelegate>
{
    //UIViewController<LoginProtocol>* delegate;
    IBOutlet UITextField* userNameField;
    IBOutlet UITextField* passwordField;
    IBOutlet UIView* userNameView;
    IBOutlet UIView* passwordView;
    IBOutlet UIButton* checkBox;
    UrlRequest* requestManager;
}

//@property(nonatomic, retain)UIViewController<LoginProtocol>* delegate;

-(IBAction)loginAction:(id)sender;
-(IBAction)checkRememberPWD:(id)sender;
-(IBAction)settingAction:(id)sender;
//-(id)initWithDelegate:(UIViewController<LoginProtocol>*)theDelegate;
- (UIButton*) customButtom:(NSUInteger)numberOfTag withFrame:(CGRect)frame action:(SEL)action normalImage:(NSString*)normalImage lightedImage:(NSString*)lightedImage  title:(NSString *)title;
@end
